/*public class JDCar {
    private String pinPai;
    private double price;
   // Private
    boolean zhuangTai;

    public JDCar() {
    }

    public JDCar(String pinPai, double price, boolean zhuangTai) {
        this.pinPai = pinPai;
        this.price = Price;
        this.zhuangTai = zhuangTai;
    }

    public void show() {
        String result;
        if (zhuangTai) {
            result = 运行;
        } else {
            result = 注销;
        }
        System.out.println("品牌为" + pinPai + "价格wei" + price + "状态为:" + result);
    }
}

public interface GPS {
}

public class MoTo extends JDCar {
}

public class Car extends JDCar {
}

public class BenChi extends Car {
}

public class BaoMa extends Car implements GPS {
}

public class YaMaHa extends MoTo {
}

public class BaoMaMoTo extends Moto implements GPS {
}*/

